package com.zxl.grocery.microservice.auth.server.service;


import java.util.List;

/**
 * @Author: zxl
 * @Description: 服务与服务之间的鉴权
 * @Date: Created in 9:44 2017/10/15
 * @Modified By:
 */
public interface ClientService {
    public String apply(String clientId, String secret) throws Exception;

    /**
     * 获取授权的客户端列表
     * @param serviceId
     * @param secret
     * @return
     */
    public List<String> getAllowedClient(String serviceId, String secret);

    public void registryClient();
}
